# include<stdio.h>

int main(void)
{
	int num = 100;
	int const* p = &num;//p不能修改
	int num1 = 99;
	*p = 1;//p
//	p = & num1; //修改p变量里的内容
	printf ("%d",*p);
	int const * q = &num;
//	*q = 1;//修改了指针指向的内存里的内容
	return 0;

}
/*int main (void)
{
	const char * p = "abcdef";
	p = "123";
	*p = "456";//err
	printf ("%s",p);
	return 0;
}*/
